﻿@model  DocentesVista
@{
    ViewBag.Title = "Instituciones";
    ViewBag.SubMenuSelected = "Docentes";
    Layout = "~/Views/Shared/_MasterSGC.cshtml";
}
@section Scripts{
    @Content.Script("CbaGob.Alumnos.Docentes.js", Url)
}
<div class="box">
    <h2>
        Modificar Docente</h2>
    <table align="center" style="width: 700px;">
        <tr>
            <td class="style1" style="font-weight: bold">
                <div id="titulo">
                </div>
                @using (Html.BeginForm("Modificar_Docente", "Docentes", FormMethod.Post, new { Id = "FormularioDocentes" }))
                { 

                    <table style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 700px;">
                        <tr>
                            <td>
                                <fieldset style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 700px;
                                    text-align: center;">
                                    <legend>Datos del Docente</legend>
                                    <table align="left" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                                        width: 700px;">
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Nombre Apellido/Razon Social:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.RazonSoial, new { style = "width:350px;", MaxLength = "150", Class = "asd", placeholder = PlaceHolderConstants.NombreApellido })
                                                @Html.ValidationMessageFor(c => c.RazonSoial, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Cuil/Cuit:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Cuit_Cuil, new { style = "width:150px;", MaxLength = "45", Class = "asd", placeholder = PlaceHolderConstants.Cuil })
                                                @Html.ValidationMessageFor(c => c.Cuit_Cuil, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Teléfono:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Telefono, new { style = "width:150px;", MaxLength = "30", Class = "asd", placeholder = PlaceHolderConstants.Telefono })
                                                @Html.ValidationMessageFor(c => c.Telefono, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Fecha Nacimineto:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.EditorFor(c => c.FechaNacimiento)
                                                @Html.ValidationMessageFor(c => c.FechaNacimiento, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Dni:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Dni, new { style = "width:150px;", MaxLength = "45", Class = "asd", placeholder = PlaceHolderConstants.Dni })
                                                @Html.ValidationMessageFor(c => c.Dni, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Resolucion Reproca:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Resolucion_Reproca, new { style = "width:250px;", MaxLength = "150", Class = "asd", placeholder = PlaceHolderConstants.Resolucion })
                                                @Html.ValidationMessageFor(c => c.Resolucion_Reproca, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Modalidad del Docente:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.N_Modalidad, new { style = "width:200px;", MaxLength = "64", Class = "asd", placeholder = PlaceHolderConstants.ModalidadNombre })
                                                @Html.ValidationMessageFor(m => m.N_Modalidad, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="120px" align="left" valign="middle">
                                                Cargos del Docente:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.EditorFor(c => c.cargos)
                                                @Html.ValidationMessageFor(m => m.Id_Cargo, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="120px" align="left" valign="middle">
                                                Es Reproca / Planta:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.RadioButtonFor(model => model.Reproca, "S", true) Reproca
                                                @Html.RadioButtonFor(model => model.Reproca, "N", false) Planta
                                                @Html.ValidationMessageFor(m => m.Reproca, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="120px" align="left" valign="middle">
                                                Tipo:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.EditorFor(c => c.TiposDocentes)
                                                @Html.ValidationMessageFor(m => m.TiposDocentes, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Provincia:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Provincia, new { style = "width:250px;", MaxLength = "50", Class = "asd", placeholder = PlaceHolderConstants.Provincia })
                                                @Html.ValidationMessageFor(c => c.Provincia, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Localidad:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Localidad, new { style = "width:250px;", MaxLength = "50", Class = "asd", placeholder = PlaceHolderConstants.Localidad })
                                                @Html.ValidationMessageFor(c => c.Localidad, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Barrio:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Barrio, new { style = "width:250px;", MaxLength = "50", Class = "asd", placeholder = PlaceHolderConstants.DireccionBarrio })
                                                @Html.ValidationMessageFor(c => c.Localidad, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Calle:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Calle, new { style = "width:250px;", MaxLength = "150", Class = "asd", placeholder = PlaceHolderConstants.DireccionCalle })
                                                @Html.ValidationMessageFor(c => c.Calle, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Nro:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Nro, new { style = "width:150px;", MaxLength = "4", Class = "asd", placeholder = PlaceHolderConstants.DireccionNumero })
                                                @Html.ValidationMessageFor(c => c.Nro, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="200px" align="left" valign="middle">
                                                Nro Resolución:
                                            </td>
                                            <td align="left" valign="middle">
                                                @Html.TextBoxFor(c => c.Nro_Resolucion, new { style = "width:250px;", MaxLength = "64", Class = "asd", placeholder = PlaceHolderConstants.Resolucion })
                                                @Html.ValidationMessageFor(m => m.Nro_Resolucion, "*")
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>

                    @Html.HiddenFor(d => d.Id_Docente)
    
   
                    <table id="btnfin" align="center" width="700px">
                        <tr>
                            <td align="right" valign="middle">
                                <input type="submit" value="Guardar" class="btnIngresar" />&nbsp;&nbsp;
                                @Html.ActionLink("Cancelar", "Index", "Docentes", null, new { Class = "btnIngresar" })
                            </td>
                        </tr>
                    </table>
                }
            </td>
        </tr>
    </table>
</div>
